import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 完整导入  导入后就可以使用组件

import Vant from 'vant'
import 'vant/lib/index.css'

Vue.use(Vant)

// 按需导入

// import { Button, Card, Icon, Image as VanImage } from 'vant'

// Vue.use(VanImage)

// Vue.use(Icon)

// Vue.use(Card)

// Vue.use(Button)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
